package cn.cdutetc.library.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 通知视图对象
 */
@Data
@Schema(description = "通知视图对象")
public class NotificationVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "通知ID")
    private Integer notificationId;

    @Schema(description = "接收用户ID")
    private Integer userId;

    @Schema(description = "接收用户名")
    private String username;

    @Schema(description = "接收用户真实姓名")
    private String realName;

    @Schema(description = "通知类型：1-系统通知，2-借阅提醒，3-还书提醒，4-逾期提醒，5-罚款通知")
    private Integer type;

    @Schema(description = "通知类型描述")
    private String typeDesc;

    @Schema(description = "通知标题")
    private String title;

    @Schema(description = "通知内容")
    private String content;

    @Schema(description = "通知方式")
    private String notifyWay;

    @Schema(description = "阅读状态：unread/read")
    private String readStatus;

    @Schema(description = "发送时间")
    private LocalDateTime sendTime;
}